package com.jifeng.br.pjj.bookreader.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jifeng.br.pjj.bookreader.entity.BookEntity;
import com.jifeng.br.pjj.bookreader.entity.BookLikeEntity;
import com.jifeng.br.pjj.bookreader.entity.VipEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 图书收藏表 Mapper 接口
 * </p>
 *
 * @author 机蜂
 * @since 2023-07-11
 */
@Mapper
public interface BookLikeMapper extends BaseMapper<BookLikeEntity> {
    List<VipEntity> getVipByBookId(Integer bookId);
    List<BookEntity> getBookByVipId(Integer vipId);
}
